import request from "@/api/request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired } from "../../interface";

/**
 * /contact/{projectNumber}
 */
export function getContactByProjectNumber(params: GetContactByProjectNumberParams, config?: AxiosRequestConfig) {
    return request.get<DeepRequired<any>>(`/contact/${params.projectNumber}`, config);
}

export interface GetContactByProjectNumberParams {
    projectNumber: string;
}
